Windows

How to Change AutoPlay Settings in Windows 11

Richard
Written by
Richard
Jul 25, 2021 Updated Apr 28, 2026 3 min read

AutoPlay is a feature that lets Windows automatically detect when you plug in a USB drive, memory card, or other media. It then asks you what you want to do.

Why? You might want to change this to stop unwanted programs from running or to make your workflow faster.

What happens? When you change these settings, Windows will either ignore the device, open it automatically, or ask you for instructions.

Why is AutoPlay a security risk?

AutoPlay can be a security risk because it allows programs on a USB drive or memory card to run automatically the moment you plug them in. If a drive contains malicious software, it could infect your computer without your permission. Disabling AutoPlay prevents these files from executing, adding a layer of protection to your system.

Pro Tip: Disabling AutoPlay is a highly recommended security best practice. It prevents “AutoRun” malware from spreading via infected USB drives, which is a common way viruses move between computers.

Change AutoPlay Settings Using System Settings

The easiest way to change AutoPlay settings is through Windows Settings. Here is how:

  1. Press Windows key + I on your keyboard to open Settings.
  1. In Settings, click on Bluetooth & devices in the left menu.
  2. On the right side, select AutoPlay.
AutoPlay tile in Settings

Turn Off AutoPlay Completely

If you want to disable AutoPlay entirely, toggle the button under Use AutoPlay for all media and devices to the Off position. What happens? Windows will no longer react to plugged-in media, and you must open your files manually using File Explorer.

AutoPlay tile in Settings options

Change AutoPlay Settings Using Control Panel

You can also adjust AutoPlay settings through Control Panel for more detailed control.

  1. Click the Start button and search for Control Panel.
  2. Click on Hardware and Sound.
  3. Select AutoPlay.
Accessing AutoPlay settings within the Windows 11 Bluetooth and devices menu

In this window, you can set specific actions for different media and device types. Choose what should happen for each one, then click Apply and OK to save your changes.

Configuring AutoPlay options for removable drives in Windows 11 settings

Advanced: Disable AutoPlay via Registry Editor

Warning: This step requires admin privileges and involves editing the registry. Incorrect changes can cause system issues.

  1. Press Windows key + R, type regedit, and press Enter.
  2. Navigate to: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
  3. If the key NoDriveTypeAutoRun does not exist, right-click in the right pane, select New > DWORD (32-bit) Value, and name it NoDriveTypeAutoRun.
  4. Double-click it and set the value to ff to disable all AutoPlay features.

Advanced: Disable AutoPlay via Group Policy

Note: This is only available for Windows 11 Pro and Enterprise editions. It requires admin privileges.

  1. Press Windows key + R, type gpedit.msc, and press Enter.
  2. Go to Computer Configuration > Administrative Templates > Windows Components > AutoPlay Policies.
  3. Double-click Turn off AutoPlay and select Enabled.
  4. Click Apply and OK.

Troubleshooting Common Issues

Why does my Windows 11 device not show AutoPlay options? This often happens if the Shell Hardware Detection service is disabled. Press Windows key + R, type services.msc, find Shell Hardware Detection, and ensure it is set to Automatic and running. Does disabling AutoPlay improve system performance? Disabling it can slightly improve performance by preventing the system from scanning every device the moment it is connected, which is helpful if you frequently plug in drives with many files.

Summary

Changing AutoPlay settings helps you manage how Windows handles removable media. You can use the Settings app for basic changes, the Control Panel for specific device actions, or the Registry and Group Policy for advanced security. Why this matters: Properly configuring these settings protects your computer from potential threats on external drives. What to remember: Always ensure your system is backed up before making changes to the registry or group policies.

Was this guide helpful?

Tags: #Windows 11
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

7 responses to “How to Change AutoPlay Settings in Windows 11”

Leave a Reply

Your email address will not be published. Required fields are marked *

Exit mobile version